package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.R;
import com.isunland.managesystem.base.BaseFragment;
import com.isunland.managesystem.base.BaseListFragment;
import com.isunland.managesystem.base.BasePagerActivity;

/**
 * 对象功能:
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: wangyanan
 * 创建时间: 2017/5/11 16:32
 */
public class UserGuidePagerActivity extends BasePagerActivity {

  @Override protected Fragment createFragmentOne() {
    return BaseFragment.newInstance(mBaseParams, new UserGuideImageFragment());
  }

  @Override protected Fragment createFragmentTwo() {
    return BaseListFragment.newInstance(mBaseParams, new UserGuideListFragment());
  }

  @Override protected int[] createTitle() {
    return new int[] { R.string.guideImage, R.string.doc };
  }

  @Override protected void setFixedTitle(boolean isFixedTitle, String fixedTitle) {
    super.setFixedTitle(true, getString(R.string.userGuide));
  }
}
